package com.chenjiagou.service;

import com.chenjiagou.pojo.Notification;

import java.util.List;

public interface NotificationService {
    void insertUserNotification(int userId, int notificationId);

    List<Notification> findNotificationByUserId(int userId);

    List<Notification> findUnreadByUserId(int userId);
    void deleteNotification(int id);

//管理员发布新通知
    void publishNotification(int flightId, String title, String content);


}
